﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace OAWeb.Models
{
    public class Exam
    {
        public int ID { get; set; }

        [Required]
        [Display(Name = "考试名称")]
        public string ExamName { get; set; }
        public DepartmentGrade DepartmentGrade { get; set; }
        public int DepartmentGradeID { get; set; }

        public DateTime ExamDate { get; set; }
       
        public List<Grade> Grades { get; set; }
        public List<CourseExam> CourseExams { get; set; }
    }
}